package level.model;

import com.infomatiq.jsi.rtree.RTree;

public abstract class StateLayer
{
	public StateLayer(String name, int zOrder)
	{
		this.name = name;
		this.zOrder = zOrder;
		this.tree = null;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public int getZOrder()
	{
		return zOrder;
	}

	public void setZOrder(int zOrder)
	{
		this.zOrder = zOrder;
	}
	
	public RTree getTree()
	{
		return tree;
	}
	
	public abstract boolean isEmpty();

	private String name;
	private int zOrder;
	protected RTree tree;
}
